package com.njit.farm.dataobject;

import com.njit.farm.model.Seed;

public class FSeed {
    private String sId;

    private String sName;

    private Integer sGrowDay;

    private Float sGuessValue;

    private Float sPrice;

    private String sPicUrl;

    public String getsId() {
        return sId;
    }

    public void setsId(String sId) {
        this.sId = sId;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public Integer getsGrowDay() {
        return sGrowDay;
    }

    public void setsGrowDay(Integer sGrowDay) {
        this.sGrowDay = sGrowDay;
    }

    public Float getsGuessValue() {
        return sGuessValue;
    }

    public void setsGuessValue(Float sGuessValue) {
        this.sGuessValue = sGuessValue;
    }

    public Float getsPrice() {
        return sPrice;
    }

    public void setsPrice(Float sPrice) {
        this.sPrice = sPrice;
    }

    public String getsPicUrl() {
        return sPicUrl;
    }

    public void setsPicUrl(String sPicUrl) {
        this.sPicUrl = sPicUrl;
    }


    public Seed toModel(){
        Seed seed = new Seed();
        seed.setId(this.sId);
        seed.setGrowDay(this.sGrowDay);
        seed.setGuessValue(this.sGuessValue);
        seed.setName(this.sName);
        seed.setPicUrl(this.sPicUrl);
        seed.setPrice(this.sPrice);
        return  seed;
    }
}